using Assets.Scripts.GDK;
using System;

namespace Brick
{
	public class WordInfoAlertCtols : gdk_base_UI
	{
		private Action<int> onCallback;

		public void OnData(Action<int> callback)
		{
			onCallback = callback;
		}

		public void OnLeftBtnClick()
		{
			if (onCallback != null)
			{
				onCallback(-1);
			}
		}

		public void OnRightBtnClick()
		{
			if (onCallback != null)
			{
				onCallback(1);
			}
		}
	}
}

